for i in range(1,101):
    if "7" in str(1) or int(i) % 7 == 0:
        print('*',end=",")
    else:
        print(i,end=",")